home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / interp / perl5.005.tar.gz / perl5.005.tar / perl5.005 / win32 / config_H.vc < prev    next >
Text File  |  1998-07-22  |  65KB  |  2,095 lines

  1. /*
  2.  * This file was produced by running the config_h.SH script, which
  3.  * gets its values from config.sh, which is generally produced by
  4.  * running Configure.
  5.  *
  6.  * Feel free to modify any of this as the need arises.  Note, however,
  7.  * that running config_h.SH again will wipe out any changes you've made.
  8.  * For a more permanent change edit config.sh and rerun config_h.SH.
  9.  *
  10.  * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
  11.  */
  12.  
  13. /*
  14.  * Package name      : perl5
  15.  * Source directory  : 
  16.  * Configuration time: undef
  17.  * Configured by     : gsar
  18.  * Target system     : 
  19.  */
  20.  
  21. #ifndef _config_h_
  22. #define _config_h_
  23.  
  24. /* LOC_SED:
  25.  *    This symbol holds the complete pathname to the sed program.
  26.  */
  27. #define LOC_SED     ""    /**/
  28.  
  29. /* BIN:
  30.  *    This symbol holds the path of the bin directory where the package will
  31.  *    be installed. Program must be prepared to deal with ~name substitution.
  32.  */
  33. /* BIN_EXP:
  34.  *    This symbol is the filename expanded version of the BIN symbol, for
  35.  *    programs that do not want to deal with that at run-time.
  36.  */
  37. #define BIN "c:\\perl\\5.005\\bin\\MSWin32-x86"    /**/
  38. #define BIN_EXP "c:\\perl\\5.005\\bin\\MSWin32-x86"    /**/
  39.  
  40. /* CPPSTDIN:
  41.  *    This symbol contains the first part of the string which will invoke
  42.  *    the C preprocessor on the standard input and produce to standard
  43.  *    output.     Typical value of "cc -E" or "/lib/cpp", but it can also
  44.  *    call a wrapper. See CPPRUN.
  45.  */
  46. /* CPPMINUS:
  47.  *    This symbol contains the second part of the string which will invoke
  48.  *    the C preprocessor on the standard input and produce to standard
  49.  *    output.  This symbol will have the value "-" if CPPSTDIN needs a minus
  50.  *    to specify standard input, otherwise the value is "".
  51.  */
  52. #define CPPSTDIN "cl -nologo -E"
  53. #define CPPMINUS ""
  54.  
  55. /* HAS_ALARM:
  56.  *    This symbol, if defined, indicates that the alarm routine is
  57.  *    available.
  58.  */
  59. /*#define HAS_ALARM        /**/
  60.  
  61. /* HASATTRIBUTE:
  62.  *    This symbol indicates the C compiler can check for function attributes,
  63.  *    such as printf formats. This is normally only supported by GNU cc.
  64.  */
  65. /*#define HASATTRIBUTE     /**/
  66. #ifndef HASATTRIBUTE
  67. #define __attribute__(_arg_)
  68. #endif
  69.  
  70. /* HAS_BCMP:
  71.  *    This symbol is defined if the bcmp() routine is available to
  72.  *    compare blocks of memory.
  73.  */
  74. /*#define HAS_BCMP    /**/
  75.  
  76. /* HAS_BCOPY:
  77.  *    This symbol is defined if the bcopy() routine is available to
  78.  *    copy blocks of memory.
  79.  */
  80. /*#define HAS_BCOPY    /**/
  81.  
  82. /* HAS_BZERO:
  83.  *    This symbol is defined if the bzero() routine is available to
  84.  *    set a memory block to 0.
  85.  */
  86. /*#define HAS_BZERO    /**/
  87.  
  88. /* HAS_CHOWN:
  89.  *    This symbol, if defined, indicates that the chown routine is
  90.  *    available.
  91.  */
  92. /*#define HAS_CHOWN        /**/
  93.  
  94. /* HAS_CHROOT:
  95.  *    This symbol, if defined, indicates that the chroot routine is
  96.  *    available.
  97.  */
  98. /*#define HAS_CHROOT        /**/
  99.  
  100. /* HAS_CHSIZE:
  101.  *    This symbol, if defined, indicates that the chsize routine is available
  102.  *    to truncate files.  You might need a -lx to get this routine.
  103.  */
  104. #define    HAS_CHSIZE        /**/
  105.  
  106. /* HASCONST:
  107.  *    This symbol, if defined, indicates that this C compiler knows about
  108.  *    the const type. There is no need to actually test for that symbol
  109.  *    within your programs. The mere use of the "const" keyword will
  110.  *    trigger the necessary tests.
  111.  */
  112. #define HASCONST    /**/
  113. #ifndef HASCONST
  114. #define const
  115. #endif
  116.  
  117. /* HAS_CRYPT:
  118.  *    This symbol, if defined, indicates that the crypt routine is available
  119.  *    to encrypt passwords and the like.
  120.  */
  121. /*#define HAS_CRYPT        /**/
  122.  
  123. /* HAS_CUSERID:
  124.  *    This symbol, if defined, indicates that the cuserid routine is
  125.  *    available to get character login names.
  126.  */
  127. /*#define HAS_CUSERID        /**/
  128.  
  129. /* HAS_DBL_DIG:
  130.  *    This symbol, if defined, indicates that this system's <float.h>
  131.  *    or <limits.h> defines the symbol DBL_DIG, which is the number
  132.  *    of significant digits in a double precision number.  If this
  133.  *    symbol is not defined, a guess of 15 is usually pretty good.
  134.  */
  135. #define HAS_DBL_DIG     /**/
  136.  
  137. /* HAS_DIFFTIME:
  138.  *    This symbol, if defined, indicates that the difftime routine is
  139.  *    available.
  140.  */
  141. #define HAS_DIFFTIME        /**/
  142.  
  143. /* HAS_DLERROR:
  144.  *    This symbol, if defined, indicates that the dlerror routine is
  145.  *    available to return a string describing the last error that
  146.  *    occurred from a call to dlopen(), dlclose() or dlsym().
  147.  */
  148. #define HAS_DLERROR    /**/
  149.  
  150. /* SETUID_SCRIPTS_ARE_SECURE_NOW:
  151.  *    This symbol, if defined, indicates that the bug that prevents
  152.  *    setuid scripts from being secure is not present in this kernel.
  153.  */
  154. /* DOSUID:
  155.  *    This symbol, if defined, indicates that the C program should
  156.  *    check the script that it is executing for setuid/setgid bits, and
  157.  *    attempt to emulate setuid/setgid on systems that have disabled
  158.  *    setuid #! scripts because the kernel can't do it securely.
  159.  *    It is up to the package designer to make sure that this emulation
  160.  *    is done securely.  Among other things, it should do an fstat on
  161.  *    the script it just opened to make sure it really is a setuid/setgid
  162.  *    script, it should make sure the arguments passed correspond exactly
  163.  *    to the argument on the #! line, and it should not trust any
  164.  *    subprocesses to which it must pass the filename rather than the
  165.  *    file descriptor of the script to be executed.
  166.  */
  167. /*#define SETUID_SCRIPTS_ARE_SECURE_NOW    /**/
  168. /*#define DOSUID        /**/
  169.  
  170. /* HAS_DUP2:
  171.  *    This symbol, if defined, indicates that the dup2 routine is
  172.  *    available to duplicate file descriptors.
  173.  */
  174. #define HAS_DUP2    /**/
  175.  
  176. /* HAS_FCHMOD:
  177.  *    This symbol, if defined, indicates that the fchmod routine is available
  178.  *    to change mode of opened files.  If unavailable, use chmod().
  179.  */
  180. /*#define HAS_FCHMOD        /**/
  181.  
  182. /* HAS_FCHOWN:
  183.  *    This symbol, if defined, indicates that the fchown routine is available
  184.  *    to change ownership of opened files.  If unavailable, use chown().
  185.  */
  186. /*#define HAS_FCHOWN        /**/
  187.  
  188. /* HAS_FCNTL:
  189.  *    This symbol, if defined, indicates to the C program that
  190.  *    the fcntl() function exists.
  191.  */
  192. /*#define HAS_FCNTL        /**/
  193.  
  194. /* HAS_FGETPOS:
  195.  *    This symbol, if defined, indicates that the fgetpos routine is
  196.  *    available to get the file position indicator, similar to ftell().
  197.  */
  198. #define HAS_FGETPOS    /**/
  199.  
  200. /* FLEXFILENAMES:
  201.  *    This symbol, if defined, indicates that the system supports filenames
  202.  *    longer than 14 characters.
  203.  */
  204. #define    FLEXFILENAMES        /**/
  205.  
  206. /* HAS_FLOCK:
  207.  *    This symbol, if defined, indicates that the flock routine is
  208.  *    available to do file locking.
  209.  */
  210. #define HAS_FLOCK        /**/
  211.  
  212. /* HAS_FORK:
  213.  *    This symbol, if defined, indicates that the fork routine is
  214.  *    available.
  215.  */
  216. /*#define HAS_FORK        /**/
  217.  
  218. /* HAS_FSETPOS:
  219.  *    This symbol, if defined, indicates that the fsetpos routine is
  220.  *    available to set the file position indicator, similar to fseek().
  221.  */
  222. #define HAS_FSETPOS    /**/
  223.  
  224. /* HAS_GETTIMEOFDAY:
  225.  *    This symbol, if defined, indicates that the gettimeofday() system
  226.  *    call is available for a sub-second accuracy clock. Usually, the file
  227.  *    <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
  228.  *    The type "Timeval" should be used to refer to "struct timeval".
  229.  */
  230. /*#define HAS_GETTIMEOFDAY    /**/
  231. #ifdef HAS_GETTIMEOFDAY
  232. #define Timeval struct timeval    /* Structure used by gettimeofday() */
  233. #endif
  234.  
  235. /* HAS_GETGROUPS:
  236.  *    This symbol, if defined, indicates that the getgroups() routine is
  237.  *    available to get the list of process groups.  If unavailable, multiple
  238.  *    groups are probably not supported.
  239.  */
  240. /*#define HAS_GETGROUPS        /**/
  241.  
  242. /* HAS_UNAME:
  243.  *    This symbol, if defined, indicates that the C program may use the
  244.  *    uname() routine to derive the host name.  See also HAS_GETHOSTNAME
  245.  *    and PHOSTNAME.
  246.  */
  247. /*#define HAS_UNAME        /**/
  248.  
  249. /* HAS_GETLOGIN:
  250.  *    This symbol, if defined, indicates that the getlogin routine is
  251.  *    available to get the login name.
  252.  */
  253. #define HAS_GETLOGIN        /**/
  254.  
  255. /* HAS_GETPGID:
  256.  *    This symbol, if defined, indicates to the C program that 
  257.  *    the getpgid(pid) function is available to get the
  258.  *    process group id.
  259.  */
  260. /*#define HAS_GETPGID        /**/
  261.  
  262. /* HAS_GETPGRP:
  263.  *    This symbol, if defined, indicates that the getpgrp routine is
  264.  *    available to get the current process group.
  265.  */
  266. /* USE_BSD_GETPGRP:
  267.  *    This symbol, if defined, indicates that getpgrp needs one
  268.  *    arguments whereas USG one needs none.
  269.  */
  270. /*#define HAS_GETPGRP        /**/
  271. /*#define USE_BSD_GETPGRP    /**/
  272.  
  273. /* HAS_GETPGRP2:
  274.  *    This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
  275.  *    routine is available to get the current process group.
  276.  */
  277. /*#define HAS_GETPGRP2        /**/
  278.  
  279. /* HAS_GETPPID:
  280.  *    This symbol, if defined, indicates that the getppid routine is
  281.  *    available to get the parent process ID.
  282.  */
  283. /*#define HAS_GETPPID        /**/
  284.  
  285. /* HAS_GETPRIORITY:
  286.  *    This symbol, if defined, indicates that the getpriority routine is
  287.  *    available to get a process's priority.
  288.  */
  289. /*#define HAS_GETPRIORITY        /**/
  290.  
  291. /* HAS_HTONL:
  292.  *    This symbol, if defined, indicates that the htonl() routine (and
  293.  *    friends htons() ntohl() ntohs()) are available to do network
  294.  *    order byte swapping.
  295.  */
  296. /* HAS_HTONS:
  297.  *    This symbol, if defined, indicates that the htons() routine (and
  298.  *    friends htonl() ntohl() ntohs()) are available to do network
  299.  *    order byte swapping.
  300.  */
  301. /* HAS_NTOHL:
  302.  *    This symbol, if defined, indicates that the ntohl() routine (and
  303.  *    friends htonl() htons() ntohs()) are available to do network
  304.  *    order byte swapping.
  305.  */
  306. /* HAS_NTOHS:
  307.  *    This symbol, if defined, indicates that the ntohs() routine (and
  308.  *    friends htonl() htons() ntohl()) are available to do network
  309.  *    order byte swapping.
  310.  */
  311. #define HAS_HTONL        /**/
  312. #define HAS_HTONS        /**/
  313. #define HAS_NTOHL        /**/
  314. #define HAS_NTOHS        /**/
  315.  
  316. /* HAS_INET_ATON:
  317.  *    This symbol, if defined, indicates to the C program that the
  318.  *    inet_aton() function is available to parse IP address "dotted-quad"
  319.  *    strings.
  320.  */
  321. /*#define HAS_INET_ATON        /**/
  322.  
  323. /* HAS_KILLPG:
  324.  *    This symbol, if defined, indicates that the killpg routine is available
  325.  *    to kill process groups.  If unavailable, you probably should use kill
  326.  *    with a negative process number.
  327.  */
  328. /*#define HAS_KILLPG    /**/
  329.  
  330. /* HAS_LINK:
  331.  *    This symbol, if defined, indicates that the link routine is
  332.  *    available to create hard links.
  333.  */
  334. /*#define HAS_LINK    /**/
  335.  
  336. /* HAS_LOCALECONV:
  337.  *    This symbol, if defined, indicates that the localeconv routine is
  338.  *    available for numeric and monetary formatting conventions.
  339.  */
  340. #define HAS_LOCALECONV    /**/
  341.  
  342. /* HAS_LOCKF:
  343.  *    This symbol, if defined, indicates that the lockf routine is
  344.  *    available to do file locking.
  345.  */
  346. /*#define HAS_LOCKF        /**/
  347.  
  348. /* HAS_LSTAT:
  349.  *    This symbol, if defined, indicates that the lstat routine is
  350.  *    available to do file stats on symbolic links.
  351.  */
  352. /*#define HAS_LSTAT        /**/
  353.  
  354. /* HAS_MBLEN:
  355.  *    This symbol, if defined, indicates that the mblen routine is available
  356.  *    to find the number of bytes in a multibye character.
  357.  */
  358. #define HAS_MBLEN        /**/
  359.  
  360. /* HAS_MBSTOWCS:
  361.  *    This symbol, if defined, indicates that the mbstowcs routine is
  362.  *    available to covert a multibyte string into a wide character string.
  363.  */
  364. #define    HAS_MBSTOWCS        /**/
  365.  
  366. /* HAS_MBTOWC:
  367.  *    This symbol, if defined, indicates that the mbtowc routine is available
  368.  *    to covert a multibyte to a wide character.
  369.  */
  370. #define HAS_MBTOWC        /**/
  371.  
  372. /* HAS_MEMCMP:
  373.  *    This symbol, if defined, indicates that the memcmp routine is available
  374.  *    to compare blocks of memory.
  375.  */
  376. #define HAS_MEMCMP    /**/
  377.  
  378. /* HAS_MEMCPY:
  379.  *    This symbol, if defined, indicates that the memcpy routine is available
  380.  *    to copy blocks of memory.
  381.  */
  382. #define HAS_MEMCPY    /**/
  383.  
  384. /* HAS_MEMMOVE:
  385.  *    This symbol, if defined, indicates that the memmove routine is available
  386.  *    to copy potentially overlapping blocks of memory. This should be used
  387.  *    only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
  388.  *    own version.
  389.  */
  390. #define HAS_MEMMOVE    /**/
  391.  
  392. /* HAS_MEMSET:
  393.  *    This symbol, if defined, indicates that the memset routine is available
  394.  *    to set blocks of memory.
  395.  */
  396. #define HAS_MEMSET    /**/
  397.  
  398. /* HAS_MKDIR:
  399.  *    This symbol, if defined, indicates that the mkdir routine is available
  400.  *    to create directories.  Otherwise you should fork off a new process to
  401.  *    exec /bin/mkdir.
  402.  */
  403. #define HAS_MKDIR        /**/
  404.  
  405. /* HAS_MKFIFO:
  406.  *    This symbol, if defined, indicates that the mkfifo routine is
  407.  *    available to create FIFOs. Otherwise, mknod should be able to
  408.  *    do it for you. However, if mkfifo is there, mknod might require
  409.  *    super-user privileges which mkfifo will not.
  410.  */
  411. /*#define HAS_MKFIFO        /**/
  412.  
  413. /* HAS_MKTIME:
  414.  *    This symbol, if defined, indicates that the mktime routine is
  415.  *    available.
  416.  */
  417. #define HAS_MKTIME        /**/
  418.  
  419. /* HAS_MSG:
  420.  *    This symbol, if defined, indicates that the entire msg*(2) library is
  421.  *    supported (IPC mechanism based on message queues).
  422.  */
  423. /*#define HAS_MSG        /**/
  424.  
  425. /* HAS_NICE:
  426.  *    This symbol, if defined, indicates that the nice routine is
  427.  *    available.
  428.  */
  429. /*#define HAS_NICE        /**/
  430.  
  431. /* HAS_PATHCONF:
  432.  *    This symbol, if defined, indicates that pathconf() is available
  433.  *    to determine file-system related limits and options associated
  434.  *    with a given filename.
  435.  */
  436. /* HAS_FPATHCONF:
  437.  *    This symbol, if defined, indicates that pathconf() is available
  438.  *    to determine file-system related limits and options associated
  439.  *    with a given open file descriptor.
  440.  */
  441. /*#define HAS_PATHCONF        /**/
  442. /*#define HAS_FPATHCONF        /**/
  443.  
  444. /* HAS_PAUSE:
  445.  *    This symbol, if defined, indicates that the pause routine is
  446.  *    available to suspend a process until a signal is received.
  447.  */
  448. #define HAS_PAUSE        /**/
  449.  
  450. /* HAS_PIPE:
  451.  *    This symbol, if defined, indicates that the pipe routine is
  452.  *    available to create an inter-process channel.
  453.  */
  454. #define HAS_PIPE        /**/
  455.  
  456. /* HAS_POLL:
  457.  *    This symbol, if defined, indicates that the poll routine is
  458.  *    available to poll active file descriptors. You may safely
  459.  *    include <poll.h> when this symbol is defined.
  460.  */
  461. /*#define HAS_POLL        /**/
  462.  
  463. /* HAS_READDIR:
  464.  *    This symbol, if defined, indicates that the readdir routine is
  465.  *    available to read directory entries. You may have to include
  466.  *    <dirent.h>. See I_DIRENT.
  467.  */
  468. #define HAS_READDIR        /**/
  469.  
  470. /* HAS_SEEKDIR:
  471.  *    This symbol, if defined, indicates that the seekdir routine is
  472.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  473.  */
  474. #define HAS_SEEKDIR        /**/
  475.  
  476. /* HAS_TELLDIR:
  477.  *    This symbol, if defined, indicates that the telldir routine is
  478.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  479.  */
  480. #define HAS_TELLDIR        /**/
  481.  
  482. /* HAS_REWINDDIR:
  483.  *    This symbol, if defined, indicates that the rewinddir routine is
  484.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  485.  */
  486. #define HAS_REWINDDIR        /**/
  487.  
  488. /* HAS_READLINK:
  489.  *    This symbol, if defined, indicates that the readlink routine is
  490.  *    available to read the value of a symbolic link.
  491.  */
  492. /*#define HAS_READLINK        /**/
  493.  
  494. /* HAS_RENAME:
  495.  *    This symbol, if defined, indicates that the rename routine is available
  496.  *    to rename files.  Otherwise you should do the unlink(), link(), unlink()
  497.  *    trick.
  498.  */
  499. #define HAS_RENAME    /**/
  500.  
  501. /* HAS_RMDIR:
  502.  *    This symbol, if defined, indicates that the rmdir routine is
  503.  *    available to remove directories. Otherwise you should fork off a
  504.  *    new process to exec /bin/rmdir.
  505.  */
  506. #define HAS_RMDIR        /**/
  507.  
  508. /* HAS_SELECT:
  509.  *    This symbol, if defined, indicates that the select routine is
  510.  *    available to select active file descriptors. If the timeout field
  511.  *    is used, <sys/time.h> may need to be included.
  512.  */
  513. #define HAS_SELECT    /**/
  514.  
  515. /* HAS_SEM:
  516.  *    This symbol, if defined, indicates that the entire sem*(2) library is
  517.  *    supported.
  518.  */
  519. /*#define HAS_SEM        /**/
  520.  
  521. /* HAS_SETEGID:
  522.  *    This symbol, if defined, indicates that the setegid routine is available
  523.  *    to change the effective gid of the current program.
  524.  */
  525. /*#define HAS_SETEGID        /**/
  526.  
  527. /* HAS_SETEUID:
  528.  *    This symbol, if defined, indicates that the seteuid routine is available
  529.  *    to change the effective uid of the current program.
  530.  */
  531. /*#define HAS_SETEUID        /**/
  532.  
  533. /* HAS_SETLINEBUF:
  534.  *    This symbol, if defined, indicates that the setlinebuf routine is
  535.  *    available to change stderr or stdout from block-buffered or unbuffered
  536.  *    to a line-buffered mode.
  537.  */
  538. /*#define HAS_SETLINEBUF        /**/
  539.  
  540. /* HAS_SETLOCALE:
  541.  *    This symbol, if defined, indicates that the setlocale routine is
  542.  *    available to handle locale-specific ctype implementations.
  543.  */
  544. #define HAS_SETLOCALE    /**/
  545.  
  546. /* HAS_SETPGID:
  547.  *    This symbol, if defined, indicates that the setpgid(pid, gpid)
  548.  *    routine is available to set process group ID.
  549.  */
  550. /*#define HAS_SETPGID    /**/
  551.  
  552. /* HAS_SETPGRP:
  553.  *    This symbol, if defined, indicates that the setpgrp routine is
  554.  *    available to set the current process group.
  555.  */
  556. /* USE_BSD_SETPGRP:
  557.  *    This symbol, if defined, indicates that setpgrp needs two
  558.  *    arguments whereas USG one needs none.  See also HAS_SETPGID
  559.  *    for a POSIX interface.
  560.  */
  561. /*#define HAS_SETPGRP        /**/
  562. /*#define USE_BSD_SETPGRP    /**/
  563.  
  564. /* HAS_SETPGRP2:
  565.  *    This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
  566.  *    routine is available to set the current process group.
  567.  */
  568. /*#define HAS_SETPGRP2        /**/
  569.  
  570. /* HAS_SETPRIORITY:
  571.  *    This symbol, if defined, indicates that the setpriority routine is
  572.  *    available to set a process's priority.
  573.  */
  574. /*#define HAS_SETPRIORITY        /**/
  575.  
  576. /* HAS_SETREGID:
  577.  *    This symbol, if defined, indicates that the setregid routine is
  578.  *    available to change the real and effective gid of the current
  579.  *    process.
  580.  */
  581. /* HAS_SETRESGID:
  582.  *    This symbol, if defined, indicates that the setresgid routine is
  583.  *    available to change the real, effective and saved gid of the current
  584.  *    process.
  585.  */
  586. /*#define HAS_SETREGID        /**/
  587. /*#define HAS_SETRESGID        /**/
  588.  
  589. /* HAS_SETREUID:
  590.  *    This symbol, if defined, indicates that the setreuid routine is
  591.  *    available to change the real and effective uid of the current
  592.  *    process.
  593.  */
  594. /* HAS_SETRESUID:
  595.  *    This symbol, if defined, indicates that the setresuid routine is
  596.  *    available to change the real, effective and saved uid of the current
  597.  *    process.
  598.  */
  599. /*#define HAS_SETREUID        /**/
  600. /*#define HAS_SETRESUID        /**/
  601.  
  602. /* HAS_SETRGID:
  603.  *    This symbol, if defined, indicates that the setrgid routine is available
  604.  *    to change the real gid of the current program.
  605.  */
  606. /*#define HAS_SETRGID        /**/
  607.  
  608. /* HAS_SETRUID:
  609.  *    This symbol, if defined, indicates that the setruid routine is available
  610.  *    to change the real uid of the current program.
  611.  */
  612. /*#define HAS_SETRUID        /**/
  613.  
  614. /* HAS_SETSID:
  615.  *    This symbol, if defined, indicates that the setsid routine is
  616.  *    available to set the process group ID.
  617.  */
  618. /*#define HAS_SETSID    /**/
  619.  
  620. /* HAS_SHM:
  621.  *    This symbol, if defined, indicates that the entire shm*(2) library is
  622.  *    supported.
  623.  */
  624. /*#define HAS_SHM        /**/
  625.  
  626. /* Shmat_t:
  627.  *    This symbol holds the return type of the shmat() system call.
  628.  *    Usually set to 'void *' or 'char *'.
  629.  */
  630. /* HAS_SHMAT_PROTOTYPE:
  631.  *    This symbol, if defined, indicates that the sys/shm.h includes
  632.  *    a prototype for shmat().  Otherwise, it is up to the program to
  633.  *    guess one.  Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
  634.  *    but not always right so it should be emitted by the program only
  635.  *    when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
  636.  */
  637. #define Shmat_t void *    /**/
  638. /*#define HAS_SHMAT_PROTOTYPE    /**/
  639.  
  640. /* USE_STAT_BLOCKS:
  641.  *    This symbol is defined if this system has a stat structure declaring
  642.  *    st_blksize and st_blocks.
  643.  */
  644. /*#define USE_STAT_BLOCKS     /**/
  645.  
  646. /* HAS_STRCHR:
  647.  *    This symbol is defined to indicate that the strchr()/strrchr()
  648.  *    functions are available for string searching. If not, try the
  649.  *    index()/rindex() pair.
  650.  */
  651. /* HAS_INDEX:
  652.  *    This symbol is defined to indicate that the index()/rindex()
  653.  *    functions are available for string searching.
  654.  */
  655. #define HAS_STRCHR    /**/
  656. /*#define HAS_INDEX    /**/
  657.  
  658. /* HAS_STRCOLL:
  659.  *    This symbol, if defined, indicates that the strcoll routine is
  660.  *    available to compare strings using collating information.
  661.  */
  662. #define HAS_STRCOLL    /**/
  663.  
  664. /* USE_STRUCT_COPY:
  665.  *    This symbol, if defined, indicates that this C compiler knows how
  666.  *    to copy structures.  If undefined, you'll need to use a block copy
  667.  *    routine of some sort instead.
  668.  */
  669. #define    USE_STRUCT_COPY    /**/
  670.  
  671. /* HAS_STRERROR:
  672.  *    This symbol, if defined, indicates that the strerror routine is
  673.  *    available to translate error numbers to strings. See the writeup
  674.  *    of Strerror() in this file before you try to define your own.
  675.  */
  676. /* HAS_SYS_ERRLIST:
  677.  *    This symbol, if defined, indicates that the sys_errlist array is
  678.  *    available to translate error numbers to strings. The extern int
  679.  *    sys_nerr gives the size of that table.
  680.  */
  681. /* Strerror:
  682.  *    This preprocessor symbol is defined as a macro if strerror() is
  683.  *    not available to translate error numbers to strings but sys_errlist[]
  684.  *    array is there.
  685.  */
  686. #define HAS_STRERROR        /**/
  687. #define HAS_SYS_ERRLIST    /**/
  688. #define Strerror(e) strerror(e)
  689.  
  690. /* HAS_STRTOD:
  691.  *    This symbol, if defined, indicates that the strtod routine is
  692.  *    available to provide better numeric string conversion than atof().
  693.  */
  694. #define HAS_STRTOD    /**/
  695.  
  696. /* HAS_STRTOL:
  697.  *    This symbol, if defined, indicates that the strtol routine is available
  698.  *    to provide better numeric string conversion than atoi() and friends.
  699.  */
  700. #define HAS_STRTOL    /**/
  701.  
  702. /* HAS_STRTOUL:
  703.  *    This symbol, if defined, indicates that the strtoul routine is
  704.  *    available to provide conversion of strings to unsigned long.
  705.  */
  706. #define HAS_STRTOUL    /**/
  707.  
  708. /* HAS_STRXFRM:
  709.  *    This symbol, if defined, indicates that the strxfrm() routine is
  710.  *    available to transform strings.
  711.  */
  712. #define HAS_STRXFRM    /**/
  713.  
  714. /* HAS_SYMLINK:
  715.  *    This symbol, if defined, indicates that the symlink routine is available
  716.  *    to create symbolic links.
  717.  */
  718. /*#define HAS_SYMLINK    /**/
  719.  
  720. /* HAS_SYSCALL:
  721.  *    This symbol, if defined, indicates that the syscall routine is
  722.  *    available to call arbitrary system calls. If undefined, that's tough.
  723.  */
  724. /*#define HAS_SYSCALL    /**/
  725.  
  726. /* HAS_SYSCONF:
  727.  *    This symbol, if defined, indicates that sysconf() is available
  728.  *    to determine system related limits and options.
  729.  */
  730. /*#define HAS_SYSCONF    /**/
  731.  
  732. /* HAS_SYSTEM:
  733.  *    This symbol, if defined, indicates that the system routine is
  734.  *    available to issue a shell command.
  735.  */
  736. #define HAS_SYSTEM    /**/
  737.  
  738. /* HAS_TCGETPGRP:
  739.  *    This symbol, if defined, indicates that the tcgetpgrp routine is
  740.  *    available to get foreground process group ID.
  741.  */
  742. /*#define HAS_TCGETPGRP        /**/
  743.  
  744. /* HAS_TCSETPGRP:
  745.  *    This symbol, if defined, indicates that the tcsetpgrp routine is
  746.  *    available to set foreground process group ID.
  747.  */
  748. /*#define HAS_TCSETPGRP        /**/
  749.  
  750. /* HAS_TRUNCATE:
  751.  *    This symbol, if defined, indicates that the truncate routine is
  752.  *    available to truncate files.
  753.  */
  754. /*#define HAS_TRUNCATE    /**/
  755.  
  756. /* HAS_TZNAME:
  757.  *    This symbol, if defined, indicates that the tzname[] array is
  758.  *    available to access timezone names.
  759.  */
  760. #define HAS_TZNAME        /**/
  761.  
  762. /* HAS_UMASK:
  763.  *    This symbol, if defined, indicates that the umask routine is
  764.  *    available to set and get the value of the file creation mask.
  765.  */
  766. #define HAS_UMASK        /**/
  767.  
  768. /* HAS_VFORK:
  769.  *    This symbol, if defined, indicates that vfork() exists.
  770.  */
  771. /*#define HAS_VFORK    /**/
  772.  
  773. /* HASVOLATILE:
  774.  *    This symbol, if defined, indicates that this C compiler knows about
  775.  *    the volatile declaration.
  776.  */
  777. #define    HASVOLATILE    /**/
  778. #ifndef HASVOLATILE
  779. #define volatile
  780. #endif
  781.  
  782. /* HAS_WAIT4:
  783.  *    This symbol, if defined, indicates that wait4() exists.
  784.  */
  785. /*#define HAS_WAIT4    /**/
  786.  
  787. /* HAS_WAITPID:
  788.  *    This symbol, if defined, indicates that the waitpid routine is
  789.  *    available to wait for child process.
  790.  */
  791. #define HAS_WAITPID    /**/
  792.  
  793. /* HAS_WCSTOMBS:
  794.  *    This symbol, if defined, indicates that the wcstombs routine is
  795.  *    available to convert wide character strings to multibyte strings.
  796.  */
  797. #define HAS_WCSTOMBS    /**/
  798.  
  799. /* HAS_WCTOMB:
  800.  *    This symbol, if defined, indicates that the wctomb routine is available
  801.  *    to covert a wide character to a multibyte.
  802.  */
  803. #define HAS_WCTOMB        /**/
  804.  
  805. /* I_ARPA_INET:
  806.  *    This symbol, if defined, indicates that <arpa/inet.h> exists and should
  807.  *    be included.
  808.  */
  809. /*#define I_ARPA_INET    /**/
  810.  
  811. /* I_DBM:
  812.  *    This symbol, if defined, indicates that <dbm.h> exists and should
  813.  *    be included.
  814.  */
  815. /* I_RPCSVC_DBM:
  816.  *    This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
  817.  *    should be included.
  818.  */
  819. /*#define I_DBM    /**/
  820. #define I_RPCSVC_DBM    /**/
  821.  
  822. /* I_DIRENT:
  823.  *    This symbol, if defined, indicates to the C program that it should
  824.  *    include <dirent.h>. Using this symbol also triggers the definition
  825.  *    of the Direntry_t define which ends up being 'struct dirent' or
  826.  *    'struct direct' depending on the availability of <dirent.h>.
  827.  */
  828. /* DIRNAMLEN:
  829.  *    This symbol, if defined, indicates to the C program that the length
  830.  *    of directory entry names is provided by a d_namlen field.  Otherwise
  831.  *    you need to do strlen() on the d_name field.
  832.  */
  833. /* Direntry_t:
  834.  *    This symbol is set to 'struct direct' or 'struct dirent' depending on
  835.  *    whether dirent is available or not. You should use this pseudo type to
  836.  *    portably declare your directory entries.
  837.  */
  838. #define I_DIRENT        /**/
  839. #define DIRNAMLEN    /**/
  840. #define Direntry_t struct direct
  841.  
  842. /* I_DLFCN:
  843.  *    This symbol, if defined, indicates that <dlfcn.h> exists and should
  844.  *    be included.
  845.  */
  846. #define I_DLFCN        /**/
  847.  
  848. /* I_FCNTL:
  849.  *    This manifest constant tells the C program to include <fcntl.h>.
  850.  */
  851. #define I_FCNTL    /**/
  852.  
  853. /* I_FLOAT:
  854.  *    This symbol, if defined, indicates to the C program that it should
  855.  *    include <float.h> to get definition of symbols like DBL_MAX or
  856.  *    DBL_MIN, i.e. machine dependent floating point values.
  857.  */
  858. #define I_FLOAT        /**/
  859.  
  860. /* I_GRP:
  861.  *    This symbol, if defined, indicates to the C program that it should
  862.  *    include <grp.h>.
  863.  */
  864. /* GRPASSWD:
  865.  *    This symbol, if defined, indicates to the C program that struct group
  866.  *    contains gr_passwd.
  867.  */
  868. /* HAS_SETGRENT:
  869.  *    This symbol, if defined, indicates that the getgrent routine is
  870.  *    available for initializing sequential access of the group database.
  871.  */
  872. /* HAS_GETGRENT:
  873.  *    This symbol, if defined, indicates that the getgrent routine is
  874.  *    available for sequential access of the group database.
  875.  */
  876. /* HAS_ENDGRENT:
  877.  *    This symbol, if defined, indicates that the getgrent routine is
  878.  *    available for finalizing sequential access of the group database.
  879.  */
  880. /*#define I_GRP        /**/
  881. /*#define GRPASSWD    /**/
  882. /*#define HAS_SETGRENT    /**/
  883. /*#define HAS_GETGRENT    /**/
  884. /*#define HAS_ENDGRENT    /**/
  885.  
  886. /* I_LIMITS:
  887.  *    This symbol, if defined, indicates to the C program that it should
  888.  *    include <limits.h> to get definition of symbols like WORD_BIT or
  889.  *    LONG_MAX, i.e. machine dependant limitations.
  890.  */
  891. #define I_LIMITS        /**/
  892.  
  893. /* I_LOCALE:
  894.  *    This symbol, if defined, indicates to the C program that it should
  895.  *    include <locale.h>.
  896.  */
  897. #define    I_LOCALE        /**/
  898.  
  899. /* I_MATH:
  900.  *    This symbol, if defined, indicates to the C program that it should
  901.  *    include <math.h>.
  902.  */
  903. #define I_MATH        /**/
  904.  
  905. /* I_MEMORY:
  906.  *    This symbol, if defined, indicates to the C program that it should
  907.  *    include <memory.h>.
  908.  */
  909. /*#define I_MEMORY        /**/
  910.  
  911. /* I_NDBM:
  912.  *    This symbol, if defined, indicates that <ndbm.h> exists and should
  913.  *    be included.
  914.  */
  915. /*#define I_NDBM    /**/
  916.  
  917. /* I_NET_ERRNO:
  918.  *    This symbol, if defined, indicates that <net/errno.h> exists and 
  919.  *    should be included.
  920.  */
  921. /*#define I_NET_ERRNO        /**/
  922.  
  923. /* I_NETINET_IN:
  924.  *    This symbol, if defined, indicates to the C program that it should
  925.  *    include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
  926.  */
  927. /*#define I_NETINET_IN    /**/
  928.  
  929. /* I_SFIO:
  930.  *    This symbol, if defined, indicates to the C program that it should
  931.  *    include <sfio.h>.
  932.  */
  933. /*#define    I_SFIO        /**/
  934.  
  935. /* I_STDDEF:
  936.  *    This symbol, if defined, indicates that <stddef.h> exists and should
  937.  *    be included.
  938.  */
  939. #define I_STDDEF    /**/
  940.  
  941. /* I_STDLIB:
  942.  *    This symbol, if defined, indicates that <stdlib.h> exists and should
  943.  *    be included.
  944.  */
  945. #define I_STDLIB        /**/
  946.  
  947. /* I_STRING:
  948.  *    This symbol, if defined, indicates to the C program that it should
  949.  *    include <string.h> (USG systems) instead of <strings.h> (BSD systems).
  950.  */
  951. #define I_STRING        /**/
  952.  
  953. /* I_SYS_DIR:
  954.  *    This symbol, if defined, indicates to the C program that it should
  955.  *    include <sys/dir.h>.
  956.  */
  957. /*#define I_SYS_DIR        /**/
  958.  
  959. /* I_SYS_FILE:
  960.  *    This symbol, if defined, indicates to the C program that it should
  961.  *    include <sys/file.h> to get definition of R_OK and friends.
  962.  */
  963. /*#define I_SYS_FILE        /**/
  964.  
  965. /* I_SYS_IOCTL:
  966.  *    This symbol, if defined, indicates that <sys/ioctl.h> exists and should
  967.  *    be included. Otherwise, include <sgtty.h> or <termio.h>.
  968.  */
  969. /*#define    I_SYS_IOCTL        /**/
  970.  
  971. /* I_SYS_NDIR:
  972.  *    This symbol, if defined, indicates to the C program that it should
  973.  *    include <sys/ndir.h>.
  974.  */
  975. /*#define I_SYS_NDIR    /**/
  976.  
  977. /* I_SYS_PARAM:
  978.  *    This symbol, if defined, indicates to the C program that it should
  979.  *    include <sys/param.h>.
  980.  */
  981. /*#define I_SYS_PARAM        /**/
  982.  
  983. /* I_SYS_RESOURCE:
  984.  *    This symbol, if defined, indicates to the C program that it should
  985.  *    include <sys/resource.h>.
  986.  */
  987. /*#define I_SYS_RESOURCE        /**/
  988.  
  989. /* I_SYS_SELECT:
  990.  *    This symbol, if defined, indicates to the C program that it should
  991.  *    include <sys/select.h> in order to get definition of struct timeval.
  992.  */
  993. /*#define I_SYS_SELECT    /**/
  994.  
  995. /* I_SYS_STAT:
  996.  *    This symbol, if defined, indicates to the C program that it should
  997.  *    include <sys/stat.h>.
  998.  */
  999. #define    I_SYS_STAT        /**/
  1000.  
  1001. /* I_SYS_TIMES:
  1002.  *    This symbol, if defined, indicates to the C program that it should
  1003.  *    include <sys/times.h>.
  1004.  */
  1005. /*#define    I_SYS_TIMES        /**/
  1006.  
  1007. /* I_SYS_TYPES:
  1008.  *    This symbol, if defined, indicates to the C program that it should
  1009.  *    include <sys/types.h>.
  1010.  */
  1011. #define    I_SYS_TYPES        /**/
  1012.  
  1013. /* I_SYS_UN:
  1014.  *    This symbol, if defined, indicates to the C program that it should
  1015.  *    include <sys/un.h> to get UNIX domain socket definitions.
  1016.  */
  1017. /*#define I_SYS_UN        /**/
  1018.  
  1019. /* I_SYS_WAIT:
  1020.  *    This symbol, if defined, indicates to the C program that it should
  1021.  *    include <sys/wait.h>.
  1022.  */
  1023. /*#define I_SYS_WAIT    /**/
  1024.  
  1025. /* I_TERMIO:
  1026.  *    This symbol, if defined, indicates that the program should include
  1027.  *    <termio.h> rather than <sgtty.h>.  There are also differences in
  1028.  *    the ioctl() calls that depend on the value of this symbol.
  1029.  */
  1030. /* I_TERMIOS:
  1031.  *    This symbol, if defined, indicates that the program should include
  1032.  *    the POSIX termios.h rather than sgtty.h or termio.h.
  1033.  *    There are also differences in the ioctl() calls that depend on the
  1034.  *    value of this symbol.
  1035.  */
  1036. /* I_SGTTY:
  1037.  *    This symbol, if defined, indicates that the program should include
  1038.  *    <sgtty.h> rather than <termio.h>.  There are also differences in
  1039.  *    the ioctl() calls that depend on the value of this symbol.
  1040.  */
  1041. /*#define I_TERMIO        /**/
  1042. /*#define I_TERMIOS        /**/
  1043. /*#define I_SGTTY        /**/
  1044.  
  1045. /* I_UNISTD:
  1046.  *    This symbol, if defined, indicates to the C program that it should
  1047.  *    include <unistd.h>.
  1048.  */
  1049. /*#define I_UNISTD        /**/
  1050.  
  1051. /* I_UTIME:
  1052.  *    This symbol, if defined, indicates to the C program that it should
  1053.  *    include <utime.h>.
  1054.  */
  1055. #define I_UTIME        /**/
  1056.  
  1057. /* I_VALUES:
  1058.  *    This symbol, if defined, indicates to the C program that it should
  1059.  *    include <values.h> to get definition of symbols like MINFLOAT or
  1060.  *    MAXLONG, i.e. machine dependant limitations.  Probably, you
  1061.  *    should use <limits.h> instead, if it is available.
  1062.  */
  1063. /*#define I_VALUES        /**/
  1064.  
  1065. /* I_STDARG:
  1066.  *    This symbol, if defined, indicates that <stdarg.h> exists and should
  1067.  *    be included.
  1068.  */
  1069. /* I_VARARGS:
  1070.  *    This symbol, if defined, indicates to the C program that it should
  1071.  *    include <varargs.h>.
  1072.  */
  1073. #define I_STDARG        /**/
  1074. /*#define I_VARARGS    /**/
  1075.  
  1076. /* I_VFORK:
  1077.  *    This symbol, if defined, indicates to the C program that it should
  1078.  *    include vfork.h.
  1079.  */
  1080. /*#define I_VFORK    /**/
  1081.  
  1082. /* CAN_PROTOTYPE:
  1083.  *    If defined, this macro indicates that the C compiler can handle
  1084.  *    function prototypes.
  1085.  */
  1086. /* _:
  1087.  *    This macro is used to declare function parameters for folks who want
  1088.  *    to make declarations with prototypes using a different style than
  1089.  *    the above macros.  Use double parentheses.  For example:
  1090.  *
  1091.  *        int main _((int argc, char *argv[]));
  1092.  */
  1093. #define    CAN_PROTOTYPE    /**/
  1094. #ifdef CAN_PROTOTYPE
  1095. #define    _(args) args
  1096. #else
  1097. #define    _(args) ()
  1098. #endif
  1099.  
  1100. /* SH_PATH:
  1101.  *    This symbol contains the full pathname to the shell used on this
  1102.  *    on this system to execute Bourne shell scripts.  Usually, this will be
  1103.  *    /bin/sh, though it's possible that some systems will have /bin/ksh,
  1104.  *    /bin/pdksh, /bin/ash, /bin/bash, or even something such as
  1105.  *    D:/bin/sh.exe.
  1106.  */
  1107. #define SH_PATH "cmd /x /c"  /**/
  1108.  
  1109. /* STDCHAR:
  1110.  *    This symbol is defined to be the type of char used in stdio.h.
  1111.  *    It has the values "unsigned char" or "char".
  1112.  */
  1113. #define STDCHAR char    /**/
  1114.  
  1115. /* MEM_ALIGNBYTES:
  1116.  *     This symbol contains the number of bytes required to align a
  1117.  *     double. Usual values are 2, 4 and 8.
  1118.  *     On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
  1119.  *     Binaries (MAB) for targets with varying alignment.  This only matters
  1120.  *     for perl, where the config.h can be generated and installed on one
  1121.  *     system, and used by a different architecture to build an extension.
  1122.  *     The default is eight, for safety.
  1123.  */
  1124. #define MEM_ALIGNBYTES 8    /**/
  1125.  
  1126. /* BYTEORDER:
  1127.  *    This symbol holds the hexadecimal constant defined in byteorder,
  1128.  *    i.e. 0x1234 or 0x4321, etc...
  1129.  *    On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
  1130.  *    Binaries (MAB) on either big endian or little endian machines.
  1131.  *    The endian-ness is available at compile-time.  This only matters
  1132.  *    for perl, where the config.h can be generated and installed on 
  1133.  *    one system, and used by a different architecture to build an
  1134.  *    extension.  Older versions of NeXT that might not have
  1135.  *    defined either *_ENDIAN__ were all on Motorola 680x0 series,
  1136.  *    so the default case (for NeXT) is big endian to catch them. 
  1137.  *    This might matter for NeXT 3.0.
  1138.  */
  1139. #ifndef NeXT
  1140. #define BYTEORDER 0x1234    /* large digits for MSB */
  1141. #else  /* NeXT */
  1142. #ifdef __LITTLE_ENDIAN__
  1143. #define BYTEORDER 0x1234
  1144. #else /* __BIG_ENDIAN__ */
  1145. #define BYTEORDER 0x4321
  1146. #endif /* ENDIAN CHECK */
  1147. #endif /* NeXT */
  1148.  
  1149. /* CASTI32:
  1150.  *    This symbol is defined if the C compiler can cast negative
  1151.  *    or large floating point numbers to 32-bit ints.
  1152.  */
  1153. #define    CASTI32        /**/
  1154.  
  1155. /* CASTNEGFLOAT:
  1156.  *    This symbol is defined if the C compiler can cast negative
  1157.  *    numbers to unsigned longs, ints and shorts.
  1158.  */
  1159. /* CASTFLAGS:
  1160.  *    This symbol contains flags that say what difficulties the compiler
  1161.  *    has casting odd floating values to unsigned long:
  1162.  *        0 = ok
  1163.  *        1 = couldn't cast < 0
  1164.  *        2 = couldn't cast >= 0x80000000
  1165.  *        4 = couldn't cast in argument expression list
  1166.  */
  1167. #define    CASTNEGFLOAT        /**/
  1168. #define CASTFLAGS 0        /**/
  1169.  
  1170. /* VOID_CLOSEDIR:
  1171.  *    This symbol, if defined, indicates that the closedir() routine
  1172.  *    does not return a value.
  1173.  */
  1174. /*#define VOID_CLOSEDIR        /**/
  1175.  
  1176. /* Gconvert:
  1177.  *    This preprocessor macro is defined to convert a floating point
  1178.  *    number to a string without a trailing decimal point.  This
  1179.  *    emulates the behavior of sprintf("%g"), but is sometimes much more
  1180.  *    efficient.  If gconvert() is not available, but gcvt() drops the
  1181.  *    trailing decimal point, then gcvt() is used.  If all else fails,
  1182.  *    a macro using sprintf("%g") is used. Arguments for the Gconvert
  1183.  *    macro are: value, number of digits, whether trailing zeros should
  1184.  *    be retained, and the output buffer.
  1185.  *    Possible values are:
  1186.  *        d_Gconvert='gconvert((x),(n),(t),(b))'
  1187.  *        d_Gconvert='gcvt((x),(n),(b))'
  1188.  *        d_Gconvert='sprintf((b),"%.*g",(n),(x))'
  1189.  *    The last two assume trailing zeros should not be kept.
  1190.  */
  1191. #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
  1192.  
  1193. /* HAS_GNULIBC:
  1194.  *    This symbol, if defined, indicates to the C program that 
  1195.  *    the GNU C library is being used.
  1196.  */
  1197. /*#define HAS_GNULIBC      /**/
  1198. /* HAS_ISASCII:
  1199.  *    This manifest constant lets the C program know that isascii 
  1200.  *    is available.
  1201.  */
  1202. #define HAS_ISASCII        /**/
  1203.  
  1204. /* HAS_LCHOWN:
  1205.  *    This symbol, if defined, indicates that the lchown routine is
  1206.  *    available to operate on a symbolic link (instead of following the
  1207.  *    link).
  1208.  */
  1209. /*#define HAS_LCHOWN        /**/
  1210.  
  1211. /* HAS_OPEN3:
  1212.  *    This manifest constant lets the C program know that the three
  1213.  *    argument form of open(2) is available.
  1214.  */
  1215. /*#define HAS_OPEN3        /**/
  1216.  
  1217. /* HAS_SAFE_BCOPY:
  1218.  *    This symbol, if defined, indicates that the bcopy routine is available
  1219.  *    to copy potentially overlapping memory blocks. Otherwise you should
  1220.  *    probably use memmove() or memcpy(). If neither is defined, roll your
  1221.  *    own version.
  1222.  */
  1223. /*#define HAS_SAFE_BCOPY    /**/
  1224.  
  1225. /* HAS_SAFE_MEMCPY:
  1226.  *    This symbol, if defined, indicates that the memcpy routine is available
  1227.  *    to copy potentially overlapping memory blocks. Otherwise you should
  1228.  *    probably use memmove() or memcpy(). If neither is defined, roll your
  1229.  *    own version.
  1230.  */
  1231. /*#define HAS_SAFE_MEMCPY    /**/
  1232.  
  1233. /* HAS_SANE_MEMCMP:
  1234.  *    This symbol, if defined, indicates that the memcmp routine is available
  1235.  *    and can be used to compare relative magnitudes of chars with their high
  1236.  *    bits set.  If it is not defined, roll your own version.
  1237.  */
  1238. #define HAS_SANE_MEMCMP    /**/
  1239.  
  1240. /* HAS_SIGACTION:
  1241.  *    This symbol, if defined, indicates that Vr4's sigaction() routine
  1242.  *    is available.
  1243.  */
  1244. /*#define HAS_SIGACTION    /**/
  1245.  
  1246. /* Sigjmp_buf:
  1247.  *    This is the buffer type to be used with Sigsetjmp and Siglongjmp.
  1248.  */
  1249. /* Sigsetjmp:
  1250.  *    This macro is used in the same way as sigsetjmp(), but will invoke
  1251.  *    traditional setjmp() if sigsetjmp isn't available.
  1252.  *    See HAS_SIGSETJMP.
  1253.  */
  1254. /* Siglongjmp:
  1255.  *    This macro is used in the same way as siglongjmp(), but will invoke
  1256.  *    traditional longjmp() if siglongjmp isn't available.
  1257.  *    See HAS_SIGSETJMP.
  1258.  */
  1259. /*#define HAS_SIGSETJMP    /**/
  1260. #ifdef HAS_SIGSETJMP
  1261. #define Sigjmp_buf sigjmp_buf
  1262. #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
  1263. #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
  1264. #else
  1265. #define Sigjmp_buf jmp_buf
  1266. #define Sigsetjmp(buf,save_mask) setjmp((buf))
  1267. #define Siglongjmp(buf,retval) longjmp((buf),(retval))
  1268. #endif
  1269.  
  1270. /* USE_STDIO_PTR:
  1271.  *    This symbol is defined if the _ptr and _cnt fields (or similar)
  1272.  *    of the stdio FILE structure can be used to access the stdio buffer
  1273.  *    for a file handle.  If this is defined, then the FILE_ptr(fp)
  1274.  *    and FILE_cnt(fp) macros will also be defined and should be used
  1275.  *    to access these fields.
  1276.  */
  1277. /* FILE_ptr:
  1278.  *    This macro is used to access the _ptr field (or equivalent) of the
  1279.  *    FILE structure pointed to by its argument. This macro will always be
  1280.  *    defined if USE_STDIO_PTR is defined.
  1281.  */
  1282. /* STDIO_PTR_LVALUE:
  1283.  *    This symbol is defined if the FILE_ptr macro can be used as an
  1284.  *    lvalue.
  1285.  */
  1286. /* FILE_cnt:
  1287.  *    This macro is used to access the _cnt field (or equivalent) of the
  1288.  *    FILE structure pointed to by its argument. This macro will always be
  1289.  *    defined if USE_STDIO_PTR is defined.
  1290.  */
  1291. /* STDIO_CNT_LVALUE:
  1292.  *    This symbol is defined if the FILE_cnt macro can be used as an
  1293.  *    lvalue.
  1294.  */
  1295. #define USE_STDIO_PTR     /**/
  1296. #ifdef USE_STDIO_PTR
  1297. #define FILE_ptr(fp)    ((fp)->_ptr)
  1298. #define STDIO_PTR_LVALUE         /**/
  1299. #define FILE_cnt(fp)    ((fp)->_cnt)
  1300. #define STDIO_CNT_LVALUE         /**/
  1301. #endif
  1302.  
  1303. /* USE_STDIO_BASE:
  1304.  *    This symbol is defined if the _base field (or similar) of the
  1305.  *    stdio FILE structure can be used to access the stdio buffer for
  1306.  *    a file handle.  If this is defined, then the FILE_base(fp) macro
  1307.  *    will also be defined and should be used to access this field.
  1308.  *    Also, the FILE_bufsiz(fp) macro will be defined and should be used
  1309.  *    to determine the number of bytes in the buffer.  USE_STDIO_BASE
  1310.  *    will never be defined unless USE_STDIO_PTR is.
  1311.  */
  1312. /* FILE_base:
  1313.  *    This macro is used to access the _base field (or equivalent) of the
  1314.  *    FILE structure pointed to by its argument. This macro will always be
  1315.  *    defined if USE_STDIO_BASE is defined.
  1316.  */
  1317. /* FILE_bufsiz:
  1318.  *    This macro is used to determine the number of bytes in the I/O
  1319.  *    buffer pointed to by _base field (or equivalent) of the FILE
  1320.  *    structure pointed to its argument. This macro will always be defined
  1321.  *    if USE_STDIO_BASE is defined.
  1322.  */
  1323. #define USE_STDIO_BASE     /**/
  1324. #ifdef USE_STDIO_BASE
  1325. #define FILE_base(fp)    ((fp)->_base)
  1326. #define FILE_bufsiz(fp)    ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
  1327. #endif
  1328.  
  1329. /* HAS_VPRINTF:
  1330.  *    This symbol, if defined, indicates that the vprintf routine is available
  1331.  *    to printf with a pointer to an argument list.  If unavailable, you
  1332.  *    may need to write your own, probably in terms of _doprnt().
  1333.  */
  1334. /* USE_CHAR_VSPRINTF:
  1335.  *    This symbol is defined if this system has vsprintf() returning type
  1336.  *    (char*).  The trend seems to be to declare it as "int vsprintf()".  It
  1337.  *    is up to the package author to declare vsprintf correctly based on the
  1338.  *    symbol.
  1339.  */
  1340. #define HAS_VPRINTF    /**/
  1341. /*#define USE_CHAR_VSPRINTF     /**/
  1342.  
  1343. /* DOUBLESIZE:
  1344.  *    This symbol contains the size of a double, so that the C preprocessor
  1345.  *    can make decisions based on it.
  1346.  */
  1347. #define DOUBLESIZE 8        /**/
  1348.  
  1349. /* I_TIME:
  1350.  *    This symbol, if defined, indicates to the C program that it should
  1351.  *    include <time.h>.
  1352.  */
  1353. /* I_SYS_TIME:
  1354.  *    This symbol, if defined, indicates to the C program that it should
  1355.  *    include <sys/time.h>.
  1356.  */
  1357. /* I_SYS_TIME_KERNEL:
  1358.  *    This symbol, if defined, indicates to the C program that it should
  1359.  *    include <sys/time.h> with KERNEL defined.
  1360.  */
  1361. #define I_TIME        /**/
  1362. /*#define I_SYS_TIME        /**/
  1363. /*#define I_SYS_TIME_KERNEL        /**/
  1364.  
  1365. /* INTSIZE:
  1366.  *    This symbol contains the value of sizeof(int) so that the C
  1367.  *    preprocessor can make decisions based on it.
  1368.  */
  1369. /* LONGSIZE:
  1370.  *    This symbol contains the value of sizeof(long) so that the C
  1371.  *    preprocessor can make decisions based on it.
  1372.  */
  1373. /* SHORTSIZE:
  1374.  *    This symbol contains the value of sizeof(short) so that the C
  1375.  *    preprocessor can make decisions based on it.
  1376.  */
  1377. #define INTSIZE 4        /**/
  1378. #define LONGSIZE 4        /**/
  1379. #define SHORTSIZE 2        /**/
  1380.  
  1381. /* VAL_O_NONBLOCK:
  1382.  *    This symbol is to be used during open() or fcntl(F_SETFL) to turn on
  1383.  *    non-blocking I/O for the file descriptor. Note that there is no way
  1384.  *    back, i.e. you cannot turn it blocking again this way. If you wish to
  1385.  *    alternatively switch between blocking and non-blocking, use the
  1386.  *    ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
  1387.  */
  1388. /* VAL_EAGAIN:
  1389.  *    This symbol holds the errno error code set by read() when no data was
  1390.  *    present on the non-blocking file descriptor.
  1391.  */
  1392. /* RD_NODATA:
  1393.  *    This symbol holds the return code from read() when no data is present
  1394.  *    on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
  1395.  *    not defined, then you can't distinguish between no data and EOF by
  1396.  *    issuing a read(). You'll have to find another way to tell for sure!
  1397.  */
  1398. /* EOF_NONBLOCK:
  1399.  *    This symbol, if defined, indicates to the C program that a read() on
  1400.  *    a non-blocking file descriptor will return 0 on EOF, and not the value
  1401.  *    held in RD_NODATA (-1 usually, in that case!).
  1402.  */
  1403. #define VAL_O_NONBLOCK O_NONBLOCK
  1404. #define VAL_EAGAIN EAGAIN
  1405. #define RD_NODATA -1
  1406. #define EOF_NONBLOCK
  1407.  
  1408. /* PTRSIZE:
  1409.  *    This symbol contains the size of a pointer, so that the C preprocessor
  1410.  *    can make decisions based on it.  It will be sizeof(void *) if
  1411.  *    the compiler supports (void *); otherwise it will be
  1412.  *    sizeof(char *).
  1413.  */
  1414. #define PTRSIZE 4        /**/
  1415.  
  1416. /* RANDBITS:
  1417.  *    This symbol contains the number of bits of random number the rand()
  1418.  *    function produces.  Usual values are 15, 16, and 31.
  1419.  */
  1420. #define RANDBITS 15        /**/
  1421.  
  1422. /* SSize_t:
  1423.  *    This symbol holds the type used by functions that return
  1424.  *    a count of bytes or an error condition.  It must be a signed type.
  1425.  *    It is usually ssize_t, but may be long or int, etc.
  1426.  *    It may be necessary to include <sys/types.h> or <unistd.h>
  1427.  *    to get any typedef'ed information.
  1428.  *    We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
  1429.  */
  1430. #define SSize_t int     /* signed count of bytes */
  1431.  
  1432. /* OSNAME:
  1433.  *    This symbol contains the name of the operating system, as determined
  1434.  *    by Configure.  You shouldn't rely on it too much; the specific
  1435.  *    feature tests from Configure are generally more reliable.
  1436.  */
  1437. #define OSNAME "MSWin32"        /**/
  1438.  
  1439. /* CAT2:
  1440.  *    This macro catenates 2 tokens together.
  1441.  */
  1442. /* STRINGIFY:
  1443.  *    This macro surrounds its token with double quotes.
  1444.  */
  1445. #if 42 == 1
  1446. #define CAT2(a,b)a/**/b
  1447. #define STRINGIFY(a)"a"
  1448.         /* If you can get stringification with catify, tell me how! */
  1449. #endif
  1450. #if 42 == 42
  1451. #define CAT2(a,b)a ## b
  1452. #define StGiFy(a)# a
  1453. #define STRINGIFY(a)StGiFy(a)
  1454. #endif
  1455. #if 42 != 1 && 42 != 42
  1456. #include "Bletch: How does this C preprocessor catenate tokens?"
  1457. #endif
  1458.  
  1459. /* CSH:
  1460.  *    This symbol, if defined, contains the full pathname of csh.
  1461.  */
  1462. /*#define HAS_CSH        /**/
  1463. #ifdef HAS_CSH
  1464. #define CSH ""    /**/
  1465. #endif
  1466.  
  1467. /* HAS_ENDHOSTENT:
  1468.  *    This symbol, if defined, indicates that the endhostent() routine is
  1469.  *    available to close whatever was being used for host queries.
  1470.  */
  1471. /*#define HAS_ENDHOSTENT        /**/
  1472.  
  1473. /* HAS_ENDNETENT:
  1474.  *    This symbol, if defined, indicates that the endnetent() routine is
  1475.  *    available to close whatever was being used for network queries.
  1476.  */
  1477. /*#define HAS_ENDNETENT        /**/
  1478.  
  1479. /* HAS_ENDPROTOENT:
  1480.  *    This symbol, if defined, indicates that the endprotoent() routine is
  1481.  *    available to close whatever was being used for protocol queries.
  1482.  */
  1483. /*#define HAS_ENDPROTOENT        /**/
  1484.  
  1485. /* HAS_ENDSERVENT:
  1486.  *    This symbol, if defined, indicates that the endservent() routine is
  1487.  *    available to close whatever was being used for service queries.
  1488.  */
  1489. /*#define HAS_ENDSERVENT        /**/
  1490.  
  1491. /* HAS_GETHOSTBYADDR:
  1492.  *    This symbol, if defined, indicates that the gethostbyaddr() routine is
  1493.  *    available to look up hosts by their IP addresses.
  1494.  */
  1495. #define HAS_GETHOSTBYADDR        /**/
  1496.  
  1497. /* HAS_GETHOSTBYNAME:
  1498.  *    This symbol, if defined, indicates that the gethostbyname() routine is
  1499.  *    available to look up host names in some data base or other.
  1500.  */
  1501. #define HAS_GETHOSTBYNAME        /**/
  1502.  
  1503. /* HAS_GETHOSTENT:
  1504.  *    This symbol, if defined, indicates that the gethostent() routine is
  1505.  *    available to look up host names in some data base or another.
  1506.  */
  1507. /*#define HAS_GETHOSTENT        /**/
  1508.  
  1509. /* HAS_GETNETBYADDR:
  1510.  *    This symbol, if defined, indicates that the getnetbyaddr() routine is
  1511.  *    available to look up networks by their IP addresses.
  1512.  */
  1513. /*#define HAS_GETNETBYADDR        /**/
  1514.  
  1515. /* HAS_GETNETBYNAME:
  1516.  *    This symbol, if defined, indicates that the getnetbyname() routine is
  1517.  *    available to look up networks by their names.
  1518.  */
  1519. /*#define HAS_GETNETBYNAME        /**/
  1520.  
  1521. /* HAS_GETNETENT:
  1522.  *    This symbol, if defined, indicates that the getnetent() routine is
  1523.  *    available to look up network names in some data base or another.
  1524.  */
  1525. /*#define HAS_GETNETENT        /**/
  1526.  
  1527. /* HAS_GETPROTOENT:
  1528.  *    This symbol, if defined, indicates that the getprotoent() routine is
  1529.  *    available to look up protocols in some data base or another.
  1530.  */
  1531. /*#define HAS_GETPROTOENT        /**/
  1532.  
  1533. /* HAS_GETPROTOBYNAME:
  1534.  *    This symbol, if defined, indicates that the getprotobyname()
  1535.  *    routine is available to look up protocols by their name.
  1536.  */
  1537. /* HAS_GETPROTOBYNUMBER:
  1538.  *    This symbol, if defined, indicates that the getprotobynumber()
  1539.  *    routine is available to look up protocols by their number.
  1540.  */
  1541. #define HAS_GETPROTOBYNAME        /**/
  1542. #define HAS_GETPROTOBYNUMBER        /**/
  1543.  
  1544. /* HAS_GETSERVENT:
  1545.  *    This symbol, if defined, indicates that the getservent() routine is
  1546.  *    available to look up network services in some data base or another.
  1547.  */
  1548. /*#define HAS_GETSERVENT        /**/
  1549.  
  1550. /* HAS_GETSERVBYNAME:
  1551.  *    This symbol, if defined, indicates that the getservbyname()
  1552.  *    routine is available to look up services by their name.
  1553.  */
  1554. /* HAS_GETSERVBYPORT:
  1555.  *    This symbol, if defined, indicates that the getservbyport()
  1556.  *    routine is available to look up services by their port.
  1557.  */
  1558. #define HAS_GETSERVBYNAME        /**/
  1559. #define HAS_GETSERVBYPORT        /**/
  1560.  
  1561. /* HAS_LONG_DOUBLE:
  1562.  *    This symbol will be defined if the C compiler supports long
  1563.  *    doubles.
  1564.  */
  1565. /* LONG_DOUBLESIZE:
  1566.  *    This symbol contains the size of a long double, so that the 
  1567.  *    C preprocessor can make decisions based on it.  It is only
  1568.  *    defined if the system supports long doubles.
  1569.  */
  1570. #define HAS_LONG_DOUBLE        /**/
  1571. #ifdef HAS_LONG_DOUBLE
  1572. #define LONG_DOUBLESIZE 10        /**/
  1573. #endif
  1574.  
  1575. /* HAS_LONG_LONG:
  1576.  *    This symbol will be defined if the C compiler supports
  1577.  *    long long.
  1578.  */
  1579. /* LONGLONGSIZE:
  1580.  *    This symbol contains the size of a long long, so that the 
  1581.  *    C preprocessor can make decisions based on it.  It is only
  1582.  *    defined if the system supports long long.
  1583.  */
  1584. /*#define HAS_LONG_LONG        /**/
  1585. #ifdef HAS_LONG_LONG
  1586. #define LONGLONGSIZE 8        /**/
  1587. #endif
  1588.  
  1589. /* HAS_SETGROUPS:
  1590.  *    This symbol, if defined, indicates that the setgroups() routine is
  1591.  *    available to set the list of process groups.  If unavailable, multiple
  1592.  *    groups are probably not supported.
  1593.  */
  1594. /*#define HAS_SETGROUPS        /**/
  1595.  
  1596. /* HAS_SETHOSTENT:
  1597.  *    This symbol, if defined, indicates that the sethostent() routine is
  1598.  *    available.
  1599.  */
  1600. /*#define HAS_SETHOSTENT        /**/
  1601.  
  1602. /* HAS_SETNETENT:
  1603.  *    This symbol, if defined, indicates that the setnetent() routine is
  1604.  *    available.
  1605.  */
  1606. /*#define HAS_SETNETENT        /**/
  1607.  
  1608. /* HAS_SETPROTOENT:
  1609.  *    This symbol, if defined, indicates that the setprotoent() routine is
  1610.  *    available.
  1611.  */
  1612. /*#define HAS_SETPROTOENT        /**/
  1613.  
  1614. /* HAS_SETSERVENT:
  1615.  *    This symbol, if defined, indicates that the setservent() routine is
  1616.  *    available.
  1617.  */
  1618. /*#define HAS_SETSERVENT        /**/
  1619.  
  1620. /* HAS_SETVBUF:
  1621.  *    This symbol, if defined, indicates that the setvbuf routine is
  1622.  *    available to change buffering on an open stdio stream.
  1623.  *    to a line-buffered mode.
  1624.  */
  1625. #define HAS_SETVBUF        /**/
  1626.  
  1627. /* HAS_SOCKET:
  1628.  *    This symbol, if defined, indicates that the BSD socket interface is
  1629.  *    supported.
  1630.  */
  1631. /* HAS_SOCKETPAIR:
  1632.  *    This symbol, if defined, indicates that the BSD socketpair() call is
  1633.  *    supported.
  1634.  */
  1635. #define HAS_SOCKET        /**/
  1636. /*#define HAS_SOCKETPAIR    /**/
  1637.  
  1638. /* HAS_UNION_SEMUN:
  1639.  *    This symbol, if defined, indicates that the union semun is
  1640.  *    defined by including <sys/sem.h>.  If not, the user code
  1641.  *    probably needs to define it as:
  1642.  *    union semun {
  1643.  *        int val;
  1644.  *        struct semid_ds *buf;
  1645.  *        unsigned short *array;
  1646.  *    }
  1647.  */
  1648. /* USE_SEMCTL_SEMUN:
  1649.  *    This symbol, if defined, indicates that union semun is
  1650.  *    used for semctl IPC_STAT.
  1651.  */
  1652. /* USE_SEMCTL_SEMID_DS:
  1653.  *    This symbol, if defined, indicates that struct semid_ds * is
  1654.  *    used for semctl IPC_STAT.
  1655.  */
  1656. #define HAS_UNION_SEMUN    /**/
  1657. /*#define USE_SEMCTL_SEMUN    /**/
  1658. /*#define USE_SEMCTL_SEMID_DS    /**/
  1659.  
  1660. /* Signal_t:
  1661.  *    This symbol's value is either "void" or "int", corresponding to the
  1662.  *    appropriate return type of a signal handler.  Thus, you can declare
  1663.  *    a signal handler using "Signal_t (*handler)()", and define the
  1664.  *    handler using "Signal_t handler(sig)".
  1665.  */
  1666. #define Signal_t void    /* Signal handler's return type */
  1667.  
  1668. /* Groups_t:
  1669.  *    This symbol holds the type used for the second argument to
  1670.  *    getgroups() and setgropus().  Usually, this is the same as
  1671.  *    gidtype (gid_t) , but sometimes it isn't.
  1672.  *    It can be int, ushort, uid_t, etc... 
  1673.  *    It may be necessary to include <sys/types.h> to get any 
  1674.  *    typedef'ed information.  This is only required if you have
  1675.  *    getgroups() or setgropus()..
  1676.  */
  1677. #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
  1678. #define Groups_t gid_t    /* Type for 2nd arg to [sg]etgroups() */
  1679. #endif
  1680.  
  1681. /* I_NETDB:
  1682.  *    This symbol, if defined, indicates that <netdb.h> exists and
  1683.  *    should be included.
  1684.  */
  1685. /*#define I_NETDB        /**/
  1686.  
  1687. /* I_PWD:
  1688.  *    This symbol, if defined, indicates to the C program that it should
  1689.  *    include <pwd.h>.
  1690.  */
  1691. /* PWQUOTA:
  1692.  *    This symbol, if defined, indicates to the C program that struct passwd
  1693.  *    contains pw_quota.
  1694.  */
  1695. /* PWAGE:
  1696.  *    This symbol, if defined, indicates to the C program that struct passwd
  1697.  *    contains pw_age.
  1698.  */
  1699. /* PWCHANGE:
  1700.  *    This symbol, if defined, indicates to the C program that struct passwd
  1701.  *    contains pw_change.
  1702.  */
  1703. /* PWCLASS:
  1704.  *    This symbol, if defined, indicates to the C program that struct passwd
  1705.  *    contains pw_class.
  1706.  */
  1707. /* PWEXPIRE:
  1708.  *    This symbol, if defined, indicates to the C program that struct passwd
  1709.  *    contains pw_expire.
  1710.  */
  1711. /* PWCOMMENT:
  1712.  *    This symbol, if defined, indicates to the C program that struct passwd
  1713.  *    contains pw_comment.
  1714.  */
  1715. /* PWGECOS:
  1716.  *    This symbol, if defined, indicates to the C program that struct passwd
  1717.  *    contains pw_gecos.
  1718.  */
  1719. /* PWPASSWD:
  1720.  *    This symbol, if defined, indicates to the C program that struct passwd
  1721.  *    contains pw_passwd.
  1722.  */
  1723. /* HAS_SETPWENT:
  1724.  *    This symbol, if defined, indicates that the getpwrent routine is
  1725.  *    available for initializing sequential access of the passwd database.
  1726.  */
  1727. /* HAS_GETPWENT:
  1728.  *    This symbol, if defined, indicates that the getpwent routine is
  1729.  *    available for sequential access of the password database.
  1730.  */
  1731. /* HAS_ENDPWENT:
  1732.  *    This symbol, if defined, indicates that the getpwent routine is
  1733.  *    available for finalizing sequential access of the passwd database.
  1734.  */
  1735. /*#define I_PWD        /**/
  1736. /*#define PWQUOTA    /**/
  1737. /*#define PWAGE    /**/
  1738. /*#define PWCHANGE    /**/
  1739. /*#define PWCLASS    /**/
  1740. /*#define PWEXPIRE    /**/
  1741. /*#define PWCOMMENT    /**/
  1742. /*#define PWGECOS    /**/
  1743. /*#define PWPASSWD    /**/
  1744. /*#define HAS_SETPWENT    /**/
  1745. /*#define HAS_GETPWENT    /**/
  1746. /*#define HAS_ENDPWENT    /**/
  1747.  
  1748. /* Free_t:
  1749.  *    This variable contains the return type of free().  It is usually
  1750.  * void, but occasionally int.
  1751.  */
  1752. /* Malloc_t:
  1753.  *    This symbol is the type of pointer returned by malloc and realloc.
  1754.  */
  1755. #define Malloc_t void *            /**/
  1756. #define Free_t void            /**/
  1757.  
  1758. /* MYMALLOC:
  1759.  *    This symbol, if defined, indicates that we're using our own malloc.
  1760.  */
  1761. /*#define MYMALLOC            /**/
  1762.  
  1763. /* SIG_NAME:
  1764.  *    This symbol contains a list of signal names in order of
  1765.  *    signal number. This is intended
  1766.  *    to be used as a static array initialization, like this:
  1767.  *        char *sig_name[] = { SIG_NAME };
  1768.  *    The signals in the list are separated with commas, and each signal
  1769.  *    is surrounded by double quotes. There is no leading SIG in the signal
  1770.  *    name, i.e. SIGQUIT is known as "QUIT".
  1771.  *    Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
  1772.  *    etc., where nn is the actual signal number (e.g. NUM37).
  1773.  *    The signal number for sig_name[i] is stored in sig_num[i].
  1774.  *    The last element is 0 to terminate the list with a NULL.  This
  1775.  *    corresponds to the 0 at the end of the sig_num list.
  1776.  */
  1777. /* SIG_NUM:
  1778.  *    This symbol contains a list of signal numbers, in the same order as the
  1779.  *    SIG_NAME list. It is suitable for static array initialization, as in:
  1780.  *        int sig_num[] = { SIG_NUM };
  1781.  *    The signals in the list are separated with commas, and the indices
  1782.  *    within that list and the SIG_NAME list match, so it's easy to compute
  1783.  *    the signal name from a number or vice versa at the price of a small
  1784.  *    dynamic linear lookup. 
  1785.  *    Duplicates are allowed, but are moved to the end of the list.
  1786.  *    The signal number corresponding to sig_name[i] is sig_number[i].
  1787.  *    if (i < NSIG) then sig_number[i] == i.  
  1788.  *    The last element is 0, corresponding to the 0 at the end of
  1789.  *    the sig_name list.
  1790.  */
  1791. #define SIG_NAME "ZERO", "INT", "QUIT", "ILL", "FPE", "KILL", "SEGV", "PIPE", "ALRM", "TERM", "CHLD", "BREAK", "ABRT", "STOP", "CONT", "CLD", 0        /**/
  1792. #define SIG_NUM  0, 2, 3, 4, 8, 9, 11, 13, 14, 15, 20, 21, 22, 23, 25, 20, 0            /**/
  1793.  
  1794. /* VOIDFLAGS:
  1795.  *    This symbol indicates how much support of the void type is given by this
  1796.  *    compiler.  What various bits mean:
  1797.  *
  1798.  *        1 = supports declaration of void
  1799.  *        2 = supports arrays of pointers to functions returning void
  1800.  *        4 = supports comparisons between pointers to void functions and
  1801.  *            addresses of void functions
  1802.  *        8 = suports declaration of generic void pointers
  1803.  *
  1804.  *    The package designer should define VOIDUSED to indicate the requirements
  1805.  *    of the package.  This can be done either by #defining VOIDUSED before
  1806.  *    including config.h, or by defining defvoidused in Myinit.U.  If the
  1807.  *    latter approach is taken, only those flags will be tested.  If the
  1808.  *    level of void support necessary is not present, defines void to int.
  1809.  */
  1810. #ifndef VOIDUSED
  1811. #define VOIDUSED 15
  1812. #endif
  1813. #define VOIDFLAGS 15
  1814. #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
  1815. #define void int        /* is void to be avoided? */
  1816. #define M_VOID            /* Xenix strikes again */
  1817. #endif
  1818.  
  1819. /* ARCHLIB:
  1820.  *    This variable, if defined, holds the name of the directory in
  1821.  *    which the user wants to put architecture-dependent public
  1822.  *    library files for perl5.  It is most often a local directory
  1823.  *    such as /usr/local/lib.  Programs using this variable must be
  1824.  *    prepared to deal with filename expansion.  If ARCHLIB is the
  1825.  *    same as PRIVLIB, it is not defined, since presumably the
  1826.  *    program already searches PRIVLIB.
  1827.  */
  1828. /* ARCHLIB_EXP:
  1829.  *    This symbol contains the ~name expanded version of ARCHLIB, to be used
  1830.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1831.  */
  1832. #define ARCHLIB "c:\\perl\\5.005\\lib\\MSWin32-x86"        /**/
  1833. /*#define ARCHLIB_EXP ""    /**/
  1834.  
  1835. /* DLSYM_NEEDS_UNDERSCORE:
  1836.  *    This symbol, if defined, indicates that we need to prepend an
  1837.  *    underscore to the symbol name before calling dlsym().  This only
  1838.  *    makes sense if you *have* dlsym, which we will presume is the
  1839.  *    case if you're using dl_dlopen.xs.
  1840.  */
  1841. /*#define     DLSYM_NEEDS_UNDERSCORE     /**/
  1842.  
  1843. /* USE_SFIO:
  1844.  *    This symbol, if defined, indicates that sfio should
  1845.  *    be used.
  1846.  */
  1847. /*#define    USE_SFIO        /**/
  1848.  
  1849. /* USE_DYNAMIC_LOADING:
  1850.  *    This symbol, if defined, indicates that dynamic loading of
  1851.  *    some sort is available.
  1852.  */
  1853. #define USE_DYNAMIC_LOADING        /**/
  1854.  
  1855. /* DB_Prefix_t:
  1856.  *    This symbol contains the type of the prefix structure element
  1857.  *    in the <db.h> header file.  In older versions of DB, it was
  1858.  *    int, while in newer ones it is u_int32_t.
  1859.  */
  1860. /* DB_Hash_t:
  1861.  *    This symbol contains the type of the prefix structure element
  1862.  *    in the <db.h> header file.  In older versions of DB, it was
  1863.  *    int, while in newer ones it is size_t.
  1864.  */
  1865. #define DB_Hash_t    int        /**/
  1866. #define DB_Prefix_t    int      /**/
  1867.  
  1868. /* PRIVLIB:
  1869.  *    This symbol contains the name of the private library for this package.
  1870.  *    The library is private in the sense that it needn't be in anyone's
  1871.  *    execution path, but it should be accessible by the world.  The program
  1872.  *    should be prepared to do ~ expansion.
  1873.  */
  1874. /* PRIVLIB_EXP:
  1875.  *    This symbol contains the ~name expanded version of PRIVLIB, to be used
  1876.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1877.  */
  1878. #define PRIVLIB "c:\\perl\\5.005\\lib"        /**/
  1879. #define PRIVLIB_EXP (win32_get_privlib("5.005"))    /**/
  1880.  
  1881. /* SITEARCH:
  1882.  *    This symbol contains the name of the private library for this package.
  1883.  *    The library is private in the sense that it needn't be in anyone's
  1884.  *    execution path, but it should be accessible by the world.  The program
  1885.  *    should be prepared to do ~ expansion.
  1886.  *    The standard distribution will put nothing in this directory.
  1887.  *    Individual sites may place their own extensions and modules in
  1888.  *    this directory.
  1889.  */
  1890. /* SITEARCH_EXP:
  1891.  *    This symbol contains the ~name expanded version of SITEARCH, to be used
  1892.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1893.  */
  1894. #define SITEARCH "c:\\perl\\site\\5.005\\lib\\MSWin32-x86"        /**/
  1895. /*#define SITEARCH_EXP ""    /**/
  1896.  
  1897. /* SITELIB:
  1898.  *    This symbol contains the name of the private library for this package.
  1899.  *    The library is private in the sense that it needn't be in anyone's
  1900.  *    execution path, but it should be accessible by the world.  The program
  1901.  *    should be prepared to do ~ expansion.
  1902.  *    The standard distribution will put nothing in this directory.
  1903.  *    Individual sites may place their own extensions and modules in
  1904.  *    this directory.
  1905.  */
  1906. /* SITELIB_EXP:
  1907.  *    This symbol contains the ~name expanded version of SITELIB, to be used
  1908.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1909.  */
  1910. #define SITELIB "c:\\perl\\site\\5.005\\lib"        /**/
  1911. #define SITELIB_EXP (win32_get_sitelib("5.005"))    /**/
  1912.  
  1913. /* STARTPERL:
  1914.  *    This variable contains the string to put in front of a perl
  1915.  *    script to make sure (one hopes) that it runs with perl and not
  1916.  *    some shell.
  1917.  */
  1918. #define STARTPERL "#!perl"        /**/
  1919.  
  1920. /* USE_PERLIO:
  1921.  *    This symbol, if defined, indicates that the PerlIO abstraction should
  1922.  *    be used throughout.  If not defined, stdio should be
  1923.  *    used in a fully backward compatible manner.
  1924.  */
  1925. /*#define    USE_PERLIO        /**/
  1926.  
  1927. /* HAS_GETHOST_PROTOS:
  1928.  *    This symbol, if defined, indicates that <netdb.h> includes
  1929.  *    prototypes for gethostent(), gethostbyname(), and
  1930.  *    gethostbyaddr().  Otherwise, it is up to the program to guess
  1931.  *    them.  See netdbtype.U for probing for various Netdb_xxx_t types.
  1932.  */
  1933. #define    HAS_GETHOST_PROTOS    /**/
  1934.  
  1935. /* HAS_GETNET_PROTOS:
  1936.  *    This symbol, if defined, indicates that <netdb.h> includes
  1937.  *    prototypes for getnetent(), getnetbyname(), and
  1938.  *    getnetbyaddr().  Otherwise, it is up to the program to guess
  1939.  *    them.  See netdbtype.U for probing for various Netdb_xxx_t types.
  1940.  */
  1941. /*#define    HAS_GETNET_PROTOS    /**/
  1942.  
  1943. /* HAS_GETPROTO_PROTOS:
  1944.  *    This symbol, if defined, indicates that <netdb.h> includes
  1945.  *    prototypes for getprotoent(), getprotobyname(), and
  1946.  *    getprotobyaddr().  Otherwise, it is up to the program to guess
  1947.  *    them.  See netdbtype.U for probing for various Netdb_xxx_t types.
  1948.  */
  1949. #define    HAS_GETPROTO_PROTOS    /**/
  1950.  
  1951. /* HAS_GETSERV_PROTOS:
  1952.  *    This symbol, if defined, indicates that <netdb.h> includes
  1953.  *    prototypes for getservent(), getservbyname(), and
  1954.  *    getservbyaddr().  Otherwise, it is up to the program to guess
  1955.  *    them.  See netdbtype.U for probing for various Netdb_xxx_t types.
  1956.  */
  1957. #define    HAS_GETSERV_PROTOS    /**/
  1958.  
  1959. /* Netdb_host_t:
  1960.  *    This symbol holds the type used for the 1st argument
  1961.  *    to gethostbyaddr().
  1962.  */
  1963. /* Netdb_hlen_t:
  1964.  *    This symbol holds the type used for the 2nd argument
  1965.  *    to gethostbyaddr().
  1966.  */
  1967. /* Netdb_name_t:
  1968.  *    This symbol holds the type used for the argument to
  1969.  *    gethostbyname().
  1970.  */
  1971. /* Netdb_net_t:
  1972.  *    This symbol holds the type used for the 1st argument to
  1973.  *    getnetbyaddr().
  1974.  */
  1975. #define Netdb_host_t        char * /**/
  1976. #define Netdb_hlen_t        int /**/
  1977. #define Netdb_name_t        char * /**/
  1978. #define Netdb_net_t        long /**/
  1979.  
  1980. /* Select_fd_set_t:
  1981.  *    This symbol holds the type used for the 2nd, 3rd, and 4th
  1982.  *    arguments to select.  Usually, this is 'fd_set *', if HAS_FD_SET
  1983.  *    is defined, and 'int *' otherwise.  This is only useful if you 
  1984.  *    have select(), of course.
  1985.  */
  1986. #define Select_fd_set_t     Perl_fd_set *    /**/
  1987.  
  1988. /* ARCHNAME:
  1989.  *    This symbol holds a string representing the architecture name.
  1990.  *    It may be used to construct an architecture-dependant pathname
  1991.  *    where library files may be held under a private library, for
  1992.  *    instance.
  1993.  */
  1994. #define ARCHNAME "MSWin32-x86"        /**/
  1995.  
  1996. /* HAS_PTHREAD_YIELD:
  1997.  *    This symbol, if defined, indicates that the pthread_yield 
  1998.  *    routine is available to yield the execution of the current
  1999.  *    thread.
  2000.  */
  2001. /* HAS_SCHED_YIELD:
  2002.  *    This symbol, if defined, indicates that the sched_yield
  2003.  *    routine is available to yield the execution of the current
  2004.  *    thread.
  2005.  */
  2006. /*#define HAS_PTHREAD_YIELD    /**/
  2007. /*#define HAS_SCHED_YIELD    /**/
  2008.  
  2009. /* PTHREADS_CREATED_JOINABLE:
  2010.  *    This symbol, if defined, indicates that pthreads are created
  2011.  *    in the joinable (aka undetached) state.
  2012.  */
  2013. /*#define PTHREADS_CREATED_JOINABLE /**/
  2014.  
  2015. /* USE_THREADS:
  2016.  *    This symbol, if defined, indicates that Perl should
  2017.  *    be built to use threads.
  2018.  */
  2019. /* OLD_PTHREADS_API:
  2020.  *    This symbol, if defined, indicates that Perl should
  2021.  *    be built to use the old draft POSIX threads API.
  2022.  */
  2023. /*#define    USE_THREADS        /**/
  2024. /*#define    OLD_PTHREADS_API        /**/
  2025.  
  2026. /* Time_t:
  2027.  *    This symbol holds the type returned by time(). It can be long,
  2028.  *    or time_t on BSD sites (in which case <sys/types.h> should be
  2029.  *    included).
  2030.  */
  2031. #define Time_t time_t        /* Time type */
  2032.  
  2033. /* HAS_TIMES:
  2034.  *    This symbol, if defined, indicates that the times() routine exists.
  2035.  *    Note that this became obsolete on some systems (SUNOS), which now
  2036.  * use getrusage(). It may be necessary to include <sys/times.h>.
  2037.  */
  2038. #define HAS_TIMES        /**/
  2039.  
  2040. /* Fpos_t:
  2041.  *    This symbol holds the type used to declare file positions in libc.
  2042.  *    It can be fpos_t, long, uint, etc... It may be necessary to include
  2043.  *    <sys/types.h> to get any typedef'ed information.
  2044.  */
  2045. #define Fpos_t fpos_t        /* File position type */
  2046.  
  2047. /* Gid_t:
  2048.  *    This symbol holds the return type of getgid() and the type of
  2049.  *    argument to setrgid() and related functions.  Typically,
  2050.  *    it is the type of group ids in the kernel. It can be int, ushort,
  2051.  *    uid_t, etc... It may be necessary to include <sys/types.h> to get
  2052.  *    any typedef'ed information.
  2053.  */
  2054. #define Gid_t gid_t        /* Type for getgid(), etc... */
  2055.  
  2056. /* Off_t:
  2057.  *    This symbol holds the type used to declare offsets in the kernel.
  2058.  *    It can be int, long, off_t, etc... It may be necessary to include
  2059.  *    <sys/types.h> to get any typedef'ed information.
  2060.  */
  2061. #define Off_t off_t        /* <offset> type */
  2062.  
  2063. /* Mode_t:
  2064.  *    This symbol holds the type used to declare file modes 
  2065.  *    for systems calls.  It is usually mode_t, but may be
  2066.  *    int or unsigned short.  It may be necessary to include <sys/types.h>
  2067.  *    to get any typedef'ed information.
  2068.  */
  2069. #define Mode_t mode_t     /* file mode parameter for system calls */
  2070.  
  2071. /* Pid_t:
  2072.  *    This symbol holds the type used to declare process ids in the kernel.
  2073.  *    It can be int, uint, pid_t, etc... It may be necessary to include
  2074.  *    <sys/types.h> to get any typedef'ed information.
  2075.  */
  2076. #define Pid_t int        /* PID type */
  2077.  
  2078. /* Size_t:
  2079.  *    This symbol holds the type used to declare length parameters
  2080.  *    for string functions.  It is usually size_t, but may be
  2081.  *    unsigned long, int, etc.  It may be necessary to include
  2082.  *    <sys/types.h> to get any typedef'ed information.
  2083.  */
  2084. #define Size_t size_t     /* length paramater for string functions */
  2085.  
  2086. /* Uid_t:
  2087.  *    This symbol holds the type used to declare user ids in the kernel.
  2088.  *    It can be int, ushort, uid_t, etc... It may be necessary to include
  2089.  *    <sys/types.h> to get any typedef'ed information.
  2090.  */
  2091. #define Uid_t uid_t        /* UID type */
  2092.  
  2093. #endif
  2094. #include <win32.h>
  2095.